package 图形界面;

import javax.swing.*;
import java.awt.*;

public class ChooseBedSuccess {
    //图十七框架(选择宿舍成功)
    private JFrame frame17=new JFrame("成功");
    private JLabel n=new JLabel("已成功选择宿舍床位");
    public ChooseBedSuccess() {
        frame17.setSize(550, 400);
        frame17.setLocation(500, 200);
        frame17.setLayout(new FlowLayout());
        frame17.add(n);
        frame17.setVisible(true);
        frame17.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }
}
